<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
	</body>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script type="text/javascript">
		document.addEventListener('visibilitychange', function() { //浏览器切换事件
			if(document.visibilityState == 'hidden') { //状态判断
				//normal_title=document.title;
				document.title = '标题二';
			} else {
				document.title = '标题一123456789234242哈哈哈';
			}
		});
	</script>
</html>